<template>
  <div class="page-title-wrap">
    <div>{{title}}</div>
    <div class="page-title-btns-wrap">
      <template v-for="btn in btns">
        <el-button type="info" v-show="btn.show" :loading="btn.loading" @click="action(btn)">{{btn.label}}</el-button>
      </template>
    </div>
  </div>
</template>

<script>
export default {
  name:"pageTit",
  props:{
    title:{
      type:String,
      default:""
    },
    btns:{
      type:Array,
      default:()=>[]
    }
  },
  data(){
    return {

    }
  }
}
</script>

<style>

</style>